package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 首页轮播图增删改查对象 carousel
 * 
 * @author hyb
 * @date 2023-02-21
 */
public class Carousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String url;

    /** 背景颜色 */
    @Excel(name = "背景颜色")
    private String bgc;

    /** 活动编号 */
    @Excel(name = "活动编号")
    private Long activityNumber;

    /** 轮播排序 */
    @Excel(name = "轮播排序")
    private Long sort;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Long isShow;

    /** $column.columnComment */
    private String pf1;

    /** $column.columnComment */
    private String pf2;

    /** $column.columnComment */
    private String pf3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setBgc(String bgc) 
    {
        this.bgc = bgc;
    }

    public String getBgc() 
    {
        return bgc;
    }
    public void setActivityNumber(Long activityNumber) 
    {
        this.activityNumber = activityNumber;
    }

    public Long getActivityNumber() 
    {
        return activityNumber;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }
    public void setPf1(String pf1) 
    {
        this.pf1 = pf1;
    }

    public String getPf1() 
    {
        return pf1;
    }
    public void setPf2(String pf2) 
    {
        this.pf2 = pf2;
    }

    public String getPf2() 
    {
        return pf2;
    }
    public void setPf3(String pf3) 
    {
        this.pf3 = pf3;
    }

    public String getPf3() 
    {
        return pf3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("url", getUrl())
            .append("bgc", getBgc())
            .append("activityNumber", getActivityNumber())
            .append("sort", getSort())
            .append("isShow", getIsShow())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pf1", getPf1())
            .append("pf2", getPf2())
            .append("pf3", getPf3())
            .toString();
    }
}
